/**
 * 
 */
package sailing.dao.impl;

import java.util.List;

import cjlite.daosupport.BaseDao;

import sailing.dao.BankAccountDao;
import sailing.entity.BankAccount;

/**
 * @author ming
 * 
 */
public class BankAccountDaoImpl extends BaseDao implements BankAccountDao {

	/*
	 * (non-Javadoc)
	 * 
	 * @see sailing.dao.BankAccountDao#save(sailing.entity.BankAccount)
	 */
	@Override
	public boolean save(BankAccount ba) {
		return this.persist(ba);
	}


	/*
	 * (non-Javadoc)
	 * 
	 * @see sailing.dao.BankAccountDao#getAllBAList()
	 */
	@Override
	public List<BankAccount> getAllBAList() {
		return this.selectAll(BankAccount.class);
	}

}
